package data.nanjing.expo.models.domain.dto.exhibition;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 上传展位
 *
 * @author ChanJi
 * @create 2018-06-30 21:20
 **/
public class ExpoDto {
    @NotNull(message = "展会id不能为空")
    private Integer expoId;
    @NotNull(message = "展会规模不能为空")
    private Integer standTotal;
    @NotNull(message = "展馆信息不能为空")
    @Valid
    private List<HallDto> hallDto;

    public Integer getExpoId() {
        return expoId;
    }

    public void setExpoId(Integer expoId) {
        this.expoId = expoId;
    }

    public List<HallDto> getHallDto() {
        return hallDto;
    }

    public void setHallDto(List<HallDto> hallDto) {
        this.hallDto = hallDto;
    }

    public Integer getStandTotal() {
        return standTotal;
    }

    public void setStandTotal(Integer standTotal) {
        this.standTotal = standTotal;
    }
}
